//
//  HotWordCell.m
//  suRead
//
//  Created by 师爱华 on 17/3/2.
//  Copyright © 2017年 bao. All rights reserved.
//

#import "HotWordCell.h"

@implementation HotWordCell

- (void)awakeFromNib {
    [super awakeFromNib];
    if ( [[[UIDevice currentDevice]systemVersion] floatValue] >= 8.0) {
        self.layoutMargins = UIEdgeInsetsZero;
        self.preservesSuperviewLayoutMargins = NO;
        self.separatorInset = UIEdgeInsetsMake(0, 15.0f, 0, 15.0f);
    }
    // Initialization code
}

- (void)setHotWordLabel:(NSString *)word
{
    [self.wordLabel setText:word];
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
